﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using FL.Bussiness;
using FL.Common;
using FL.DBModule;
using FL.DBModule.Sys;
using FL.Lite;

namespace FL.Web.BackEnd.Controllers
{
    public class BaseApiController : ApiController
    {
        /// <summary>
        /// 当前用户
        /// </summary>
        public SysUser CurreentUser
        {
            get
            {
                return System.Web.HttpContext.Current.Session["CurreentUser"] as SysUser;
            }
        }

        // api/<controller>/5
        public string Post(Guid id, [FromBody]string value)
        {
            return "";
        }

        public string Post(int id, [FromBody]string value)
        {
            return "";
        }
    }
}